<form name="frmSearch" id="frmSearch" action="{$smarty.const.HOST_BACKEND}smanual/index" onsubmit="javascript:return actionSearch();" method="get" enctype="multipart/form-data">
	<input type="hidden" name="pcancel" id="pcancel" value="0" /> 
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="search">
        <tbody>
            <tr>              
                <td width="20%">
                    <label for="stt">Tình trạng:</label>
                    <select name="stt" id="stt" onchange="this.form.submit();">                       	                
                       	{html_options options=$arrStatus selected=$intStatus}
                    </select>
                </td>    
                <td width="20%">
                    <label for="opt">Tìm theo:</label>
                    <select name="opt" id="opt">                        
                        {if isset($smarty.session.SHARE_MANUAL_SEARCH)}
                            {html_options options=$arrOption selected=$smarty.session.SHARE_MANUAL_SEARCH.opt}
                        {else}
                            {html_options options=$arrOption}
                        {/if}
                    </select>
                </td>
                <td width="20%">
                    <label for="key">Từ khóa:</label>
                    <input type="text" name="key" id="key" value="{if isset($smarty.session.SHARE_MANUAL_SEARCH)}{$smarty.session.SHARE_MANUAL_SEARCH.key|escape}{/if}" maxlength="50"/>
                </td>                
                <td width="20%">
                    <label for="startdate">Ngày đăng:</label>
                    <input type="text" name="startdate" id="startdate" value="{if isset($smarty.session.SHARE_MANUAL_SEARCH)}{$smarty.session.SHARE_MANUAL_SEARCH.startdate|escape}{/if}" class="half first"/>
                    <input type="text" name="enddate" id="enddate" value="{if isset($smarty.session.SHARE_MANUAL_SEARCH)}{$smarty.session.SHARE_MANUAL_SEARCH.enddate|escape}{/if}" class="half"/>
                </td>                
            </tr> 
            <tr>
            	<td colspan="5" align="center">
                    <button type="submit" class="search">Tìm kiếm</button>
                    {if isset($smarty.session.SHARE_MANUAL_CANCEL) && $smarty.session.SHARE_MANUAL_CANCEL == 1}    
                    	<button type="button" class="search" onclick="javascript:cancelSearch(this.form);">Thôi tìm kiếm</button>
                    {/if}
                </td>
            </tr>
        </tbody>
    </table>
</form>